package com.huyanqi.front.rest.resource;

import javax.ws.rs.FormParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

import com.huyanqi.front.rest.resp.UserListResp;
import com.huyanqi.front.rest.resp.UserSimpleResp;

public interface UserListResource {

	@Path("/getUserList")
	@POST
	UserListResp getUserList();
	
	@Path("/regUser")
	@POST
	UserSimpleResp regUser(@FormParam(value = "email") String email,@FormParam("nickname") String nickname,@FormParam("password")String password);
	
	@Path("/loginUser")
	@POST
	UserSimpleResp loginUser(@FormParam("email") String email,@FormParam("password") String password,@FormParam("isMd5") String isMD5);
	
	@Path("/getUserByUid")
	@POST
	UserSimpleResp getUserByUid(@FormParam("uid") Long uid);
	
	
}
